package com.faryangsh.rep;

import lombok.Builder;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author 杨志远[of2551]
 *         company qianmi.com
 *         Date    2017-08-16
 */
@Builder
@Data
@Entity
@Table(name = "tab_staff")
public class TabStaff {
    @Id
    @Column(columnDefinition = "int(11) not null comment 'id'")
    private Integer id;

    @Column(columnDefinition = "varchar(100) comment 'name'")
    private String staffName;

    @Column(columnDefinition = "varchar(18) comment 'No'")
    private String idCardNo;
}
